Polls an input event for a specified controller
External API used for getting the input events inside an internal queue. This way the API can remains the same
External API used for getting the input events inside an internal queue. This way the API can remains the same
This class should probably not contain more than one instance(unless 2 people are playing)
Linearly allocated variable length Events
BytesOffset should never be greater than capacity
High efficient(at least memory-wise), tightly packed Input queue that supports any kind of data in a single allocated memory pool(no fragmentation).
The input queue is populated by external APIs, like UWP's CoreWindow, Android's app and SDL2 Event. This way, it is possible to create a centralized input resource. This class does not creates the entire input system. It creates its base for being handled.